package com.frejoys.common.dto.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * 审核参数
 */
@Data
public class AdminVerifyDto {


    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "id", description = "审核id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "Long", name = "agentUserId", description = "代理人用户id,审核商家入驻申请时,用户未填写代理人时填写", required = false, defaultValue = "1")
    private Long agentUserId;

    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "result", description = "审核结果：0驳回,1通过", required = true, defaultValue = "1")
    private Integer result;

    @Schema(type = "Integer", name = "reasonId", description = "原因：驳回必须选择", required = false, defaultValue = "1")
    private Integer reasonId;

    @Schema(type = "String", name = "remark", description = "原因描述，可选", required = false, defaultValue = "1")
    private String remark;


}
